package com.glq.book.entity;

public class User {
    private Integer id;
    private String username;
    private String password;
    private String trueName;
    private Integer age;
    private String tel;
    private String touxiang;

    public User(Integer id, String username, String password, String trueName, Integer age, String tel, String touxiang) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.trueName = trueName;
        this.age = age;
        this.tel = tel;
        this.touxiang = touxiang;
    }

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", trueName='" + trueName + '\'' +
                ", age=" + age +
                ", tel='" + tel + '\'' +
                ", touxiang='" + touxiang + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getTouxiang() {
        return touxiang;
    }

    public void setTouxiang(String touxiang) {
        this.touxiang = touxiang;
    }
}

